package droid.insane.logic;

/**
 * @author Sandamal
 *Used to keep track of the activities in which the display needs to be updated
 */
public class UpdateFlags {
	private static boolean TOP_TEN_FLAG = false;
	private static boolean PORTFOLIO_FLAG = false;
	private static boolean MARKET_DATA_FLAG = false;

	public static boolean isTOP_TEN_FLAG() {
		return TOP_TEN_FLAG;
	}

	public static boolean isPORTFOLIO_FLAG() {
		return PORTFOLIO_FLAG;
	}

	public static boolean isMARKET_DATA_FLAG() {
		return MARKET_DATA_FLAG;
	}

	public static void setTOP_TEN_FLAG(boolean tOP_TEN_FLAG) {
		TOP_TEN_FLAG = tOP_TEN_FLAG;
	}

	public static void setPORTFOLIO_FLAG(boolean pORTFOLIO_FLAG) {
		PORTFOLIO_FLAG = pORTFOLIO_FLAG;
	}

	public static void setMARKET_DATA_FLAG(boolean mARKET_DATA_FLAG) {
		MARKET_DATA_FLAG = mARKET_DATA_FLAG;
	}

	public static void setALL_FLAGS() {
		MARKET_DATA_FLAG = true;
		PORTFOLIO_FLAG = true;
		TOP_TEN_FLAG = true;
	}

}
